package com.csun.dsms.service;

import com.alibaba.fastjson.JSONObject;
import com.csun.dsms.comment.core.support.IService;
import com.csun.dsms.comment.core.utils.wrapper.Wrapper;
import com.csun.dsms.model.education.JyProblemDetail;
import com.csun.dsms.model.education.JyProblemManagement;
import com.csun.dsms.model.education.JyProblemReport;
import com.csun.dsms.model.education.JyQueryDto;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface JyProblemReportService extends IService<JyProblemReport> {

    PageInfo queryListWithPage(JyQueryDto jyQueryDto);

    Wrapper<Object> importData(MultipartFile file);

    void downExcelData(HttpServletResponse response);

    void exportData(HttpServletResponse response, JyQueryDto jyQueryDto);

    void dataCombinedCalculations(JyProblemDetail jyProblemDetail);

    void exportBackupData(HttpServletResponse response, JSONObject reqJson);

    Wrapper queryBackupData(JSONObject reqJson);
}
